{extend name="Public:base"/}

{block name="main"}
<div class="box-info">
    <form action="{:U('Lang/add')}" method="post">

        <div class="form-group row">
            <label class="form-control-label col-md-2"><font color="red">*</font>语言名称</label>
            <div class="col-md-6">
                <input type="text" id="name" name="name" value="{$vo.name}" class="form-control" />
            </div>
        </div>
        <div class="form-group row">
            <label class="form-control-label col-md-2"><font color="red">*</font>语言标识</label>
            <div class="col-md-6">
                <input type="text" id="mark" name="mark" value="{$vo.mark}" class="form-control" />
            </div>
        </div>
        <div class="form-group row">
            <label class="form-control-label col-md-2">语言图标</label>
            <div class="col-md-6">
                <input type="text" id="flag" name="flag" value="{$vo.flag}" class="form-control"/>
            </div>
        </div>
        <div class="form-group row">
            <label class="form-control-label col-md-2">域名</label>
            <div class="col-md-6">
                <input type="text" name="domain" value="{$vo.domain}" class="form-control"/>
            </div>
        </div>
        <div class="form-group row">
            <label class="form-control-label col-md-2">默认主题</label>
            <div class="col-md-6">
                <input type="text" name="default_theme" value="{$vo.default_theme}" class="form-control"/>
            </div>
        </div>
        <div class="form-group row">
            <label class="form-control-label col-md-2">默认移动主题</label>
            <div class="col-md-6">
                <input type="text" name="default_wap_theme" value="{$vo.default_wap_theme}" class="form-control input-sm"/>
            </div>
        </div>
        <div class="form-group row">
            <label class="form-control-label col-md-2">状态</label>
            <div class="col-md-6">
                {:Form::radio(array('field'=>'status','options'=>array('1'=>'开启','0'=>'关闭')),1)}
            </div>
        </div>

        <div class="form-actions">
            <button type="submit" class="btn btn-primary ajax_form_add">提交</button>
            <button type="button" class="btn btn-danger" onclick="javascript:history.back(-1);return false;">返回</button>
        </div>
    </form>

</div>
{/block}